'use strict';

const Controller = require('egg').Controller;

class DetailController extends Controller {
  async index() {
    const {ctx} = this;
    var {id} = ctx.query;
    const res = await ctx.service.movie.getMovie({id});
    ctx.body = {
        status:200,
        msg:'电影详情',
        res,
    }
  }
}

module.exports = DetailController;
